Automattic\WooCommerce\Admin\Features\Navigation\Menu C

Total Complexity 111
Dependencies 3
Dependents 3
Total lines 780
Lines of code 434
Logical lines of code 204
Comment lines 235
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
migrate_menu_items()
B
44 17 42
migrate_core_child_items()
A
53 9 22
add_item_and_taxonomy()
A
48 8 32
get_post_type_items()
S
45 6 43
get_mapped_menu_items()
S
52 7 25
has_callback()
S
56 7 19
get_item_menu_id()
S
59 7 13
get_taxonomy_items()
S
47 5 38
add_item()
S
48 5 35
get_parent_key()
S
58 6 17
add_category()
S
50 5 30
add_core_items()
S
60 5 14
get_category_items()
S
60 4 13
get_callback_url()
S
62 4 11
add_setting_item()
S
56 3 19
add_plugin_category()
S
57 3 17
add_plugin_item()
S
58 3 16
instance()
S
71 2 6
get_items()
S
79 1 3
hide_wp_menu_item()
S
79 1 3
get_callbacks()
S
79 1 3
init()
S
69 1 6
enqueue_data()
S
68 1 7